package com.ruoyi.project.business.syscity.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.project.business.socialsecurity.request.FindLikeCityNameRequest;
import com.ruoyi.project.business.syscity.entity.SysCity;
import com.ruoyi.project.business.syscity.request.ListSysCityRequest;
import com.ruoyi.project.business.syscity.request.AddSysCityRequest;
import com.ruoyi.project.business.syscity.response.SysCityResponse;

/**
 * 【请填写功能名称】Service接口
 * 
 * @author ${author}
 * @date 2024-03-19
 */
public interface ISysCityService {
    /**
     * 查询【请填写功能名称】
     *
     * @param code 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    public SysCity selectSysCityById(String code);

    /**
     */
    public List<SysCityResponse> selectSysCityList(ListSysCityRequest request);


    public int insertSysCity(AddSysCityRequest request, Long operatorId);

    /**
     * 修改【请填写功能名称】
     * 
     * @return 结果
     */
    public int updateSysCity(SysCity entity, Long operatorId);

    /**
     * 批量删除【请填写功能名称】
     * 
     * @return 结果
     */
    public int deleteSysCityByIds(String[] codes, Long operatorId);

    /**
     * 删除【请填写功能名称】信息
     * 
     * @return 结果
     */
    public int deleteSysCityById(String code, Long operatorId);

    List<SysCityResponse> selectListLikeName(FindLikeCityNameRequest request);

    Map<String, SysCity> selectMapByCityCodes(List<String> cityCodes);

    Map<String, SysCity> selectMapByCityCode(String cityCode);
}
